<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>prefetching-resources</title>
    <link rel="prefetch" href="./test.json">
    <link rel="preload" href="./test.json">
</head>
<body>
    <div>打开浏览器控制台，点击network,查看资源预先请求和资源预加载是否成功!</div>
</body>
</html>